<#include "/macro/base.ftl" />

<form id="pagerForm" method="post" action="${base}/sys/sysInterfaceMessage/list">
	<@pagerForm />
</form>

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="${base}/sys/sysInterfaceMessage/list" method="post">
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>服务器：</label>
					<input type="text" "  name="smsServerUrl" value="${(bean.smsServerUrl)!}" placeholder="输入要查询的服务器"/>
				</li>
				<li>
					<label>用户名：</label>
					<input type="text" "  name="smsUsername" value="${(bean.smsUsername)!}" placeholder="输入要查询的用户名"/>
				</li>
				<li>
					<label>密码：</label>
					<input type="text" "  name="smsPassword" value="${(bean.smsPassword)!}" placeholder="输入要查询的密码"/>
				</li>
				<li>
					<label>KEY：</label>
					<input type="text" "  name="smsKey" value="${(bean.smsKey)!}" placeholder="输入要查询的KEY"/>
				</li>
				<li>
					<label>状态：</label>
					<!-- <input type="text" "  name="status" value="${(bean.status)!}" placeholder="输入要查询的状态 1禁用 2启用"/> -->
					<label><input type="radio" name="status" value="1"/>禁用</label>
					<label><input type="radio" name="status" value="2"/>启用</label>		
					
				</li>
				<li>
					<label>邮件服务器地址：</label>
					<input type="text" "  name="emailServerUrl" value="${(bean.emailServerUrl)!}" placeholder="输入要查询的邮件服务器地址"/>
				</li>
				<li>
					<label>用户名：</label>
					<input type="text" "  name="emailUsername" value="${(bean.emailUsername)!}" placeholder="输入要查询的用户名"/>
				</li>
				<li>
					<label>密码：</label>
					<input type="text" "  name="emailPassword" value="${(bean.emailPassword)!}" placeholder="输入要查询的密码"/>
				</li>
				
				<!--
				<li>
					<label>创建者：</label>
					<input type="text" "  name="createUser" value="${(bean.createUser)!}" placeholder="输入要查询的创建者"/>
				</li>
				<li>
					<label>创建时间：</label>
					<input type="text" class="date"" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" name="createDate" value="${(bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="输入要查询的创建时间"/>
				</li>
				<li>
					<label>修改者：</label>
					<input type="text" "  name="updateUser" value="${(bean.updateUser)!}" placeholder="输入要查询的修改者"/>
				</li>
				<li>
					<label>修改时间：</label>
					<input type="text" class="date"" datefmt="yyyy-MM-dd HH:mm:ss" readonly="true" name="updateDate" value="${(bean.updateDate?string('yyyy-MM-dd HH:mm:ss'))!}" placeholder="输入要查询的修改时间"/>
				</li>
				<li>
					<label>备注：</label>
					<input type="text" "  name="remark" value="${(bean.remark)!}" placeholder="输入要查询的备注"/>
				</li> -->
			</ul>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
					<li><div class="button"><div class="buttonContent"><button type="reset">清空重输</button></div></div></li>
				</ul>
			</div>
		</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li class="line">line</li>
			<li><a class="add" href="${base}/sys/sysInterfaceMessage/add"
			rel="sys_sysInterfaceMessage"  width="800" height="520" target="dialog"><span>添加</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="${base}/sys/sysInterfaceMessage/delete?id={sid}" target="ajaxTodo" title="确定要删除吗？" warn="请选中要删除的数据"><span>删除</span></a></li>
			<li class="line">line</li>
			<li><a class="edit" href="${base}/sys/sysInterfaceMessage/edit?id={sid}" target="dialog" 
			rel="sys_sysInterfaceMessage"  width="800" height="520" warn="请选中要修改的数据"><span>修改</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>

	<div id="w_list_print">
		<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
			<thead>
				<tr>
					<th align="center" width="50">序号</th>
					<th >服务器</th>
					<th >用户名</th>
					<th >密码</th>
					<th >KEY</th>
					<th >状态</th>
					<th >邮件服务器地址</th>
					<th >用户名</th>
					<th >密码</th>
					<th >创建者</th>
					<th orderField="CREATE_DATE" class="<#if page.orderField! == 'CREATE_DATE'>${ page.orderDirection}</#if>">创建时间</th>
					<th >修改者</th>
					<th orderField="UPDATE_DATE" class="<#if page.orderField! == 'UPDATE_DATE'>${ page.orderDirection}</#if>">修改时间</th>
					<th >备注</th>
					<th width="200">操作</th>
				</tr>
			</thead>
			<tbody>
				<#if (page)??>
					<#list page.list as bean>
						<tr target="sid" rel="${ bean.id?c}">
							<td align="center">${ bean_index+1}</td>
							<td>${ (bean.smsServerUrl)!}</td>
							<td>${ (bean.smsUsername)!}</td>
							<td>${ (bean.smsPassword)!}</td>
							<td>${ (bean.smsKey)!}</td>
							<td> <#if bean.status! == '1'>禁用</#if> <#if bean.status! == '2'>启用</#if> </td>
							<td>${ (bean.emailServerUrl)!}</td>
							<td>${ (bean.emailUsername)!}</td>
							<td>${ (bean.emailPassword)!}</td>
							<td>${ (bean.createUser)!}</td>
							<td>${ (bean.createDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
							<td>${ (bean.updateUser)!}</td>
							<td>${ (bean.updateDate?string('yyyy-MM-dd HH:mm:ss'))!}</td>
							<td>${ (bean.remark)!}</td>
							<td>
								<a title="确定要删除吗？" target="ajaxTodo" href="${base}/sys/sysInterfaceMessage/delete?id=${bean.id?c}" class="btnDel">删除</a>
								<a title="编辑" target="dialog" href="${base}/sys/sysInterfaceMessage/edit?id=${bean.id?c}" class="btnEdit">编辑</a>
							</td>
						</tr>
					</#list>
				<#else>
					<tr>
						<td colspan="15" align="center">暂没记录</td>
					</tr>
				</#if>
			</tbody>
		</table>
	</div>
	<@pages />
</div>
